package com.nutricia.common.util.log;

import ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP;
import ch.qos.logback.core.rolling.helper.ArchiveRemover;
import ch.qos.logback.core.rolling.helper.FileNamePattern;

/**
 * @author: huangsheng
 * @date: 2018/4/11
 */
public class PatchedLogFNATP extends SizeAndTimeBasedFNATP {

    PatchedLogFNATP() {
    }

    protected ArchiveRemover createArchiveRemover() {
        return new PatchedLogArchiveRemover(new FileNamePattern(this.tbrp.getFileNamePattern(), this.context), this.rc);
    }
}
